/*
* ajax请求的路由管理，类似于一个集中配置
*/
module.exports ={
//<<<<=========order=============>>>>
    // 获取订单信息
    orderList : "order/list",
    //历史订单
    orderPayList:"order/pay-list",
    //酒代预约
    orderCreate:"order/create",
    // 支付接口
    orderPay : "order/pay",
    //订单详情
    orderDetail:"order/detail",
    //预约房间
    orderCreateRoom:"order/create-room",
    //取消预订
    orderCancel:"order/cancel",
    //酒待管理请求数据订单总数
    orderBarmaidList:"order/barmaid-list",
    //当前订单
    orderNow:"order/now",
//<<<<=========user=============>>>>
    // 获取用户的信息
    userInfo : "user/info",
    //获取用户微信信息
    userWxInfo:"user/wx-info",
    //用户注册手机号
    userVerifycode:"user/verifycode",
    //绑定手机号
    userBindphone:"user/bindphone",
    //当页面是网页登录时候的处理逻辑
    userLogin:"user/login",
    //请求微信
    userWxSign:"user/wx-sign",
    //黑名单==>顾客属性
    userBlackList:'customer/detail-by-userid',
    //用户地址列表
    userAddressList:"user/address-list",
    //删除用户地址
    userAddressDelete:"user/address-delete",
    //删除某用户的所有地址
    userAddressDeleteAll:"user/address-deleteall",
//<<<<=========manager=============>>>>
    // 获取管理当前状态的信息
    manager : "barmaid/manager",
    // 获取管理当前状态的信息
    managerDetail : "barmaid/manager-detail",
    //经理所属企业
    managerIdBusiness:"business/manager-list",
    // 附近的经理
    managerNearBy : "lbs/manager-nearby",
    // 经理列表
    managerList : "lbs/manager-list",
    //酒待经理的列表
    barmaidManagerList:'barmaid/manager-list',
    //经理详情
    managerInfo:'manager/detail',
//<<<<=========barmaid=============>>>>
    // 用户信息的细节
    userDetail : "barmaid/detail",
    // 编辑酒代管理
    editManager : "barmaid/edit-status",
    // 获取企业列表
    businessList : "barmaid/business-list", 
    //更新当前的照片库列表
    barmaidDeletePic:"barmaid/delete-pic",
    //酒代列表
    barmaidList:"barmaid/list",
    //形象图设置
    barmaidAvatar:"barmaid/avatar",
    //上传图片
    barmaidUploading:"barmaid/uploading",
    //提现信息获取
    barmaidWithdrawal:"barmaid/withdrawal",
    //注册第一步提交的数据
    barmaidUpdateInfoStep1:"barmaid/update-info-step1",
    //注册第二步提交的数据
    barmaidUpdateInfoStep2:"barmaid/update-info-step2",
//<<<<=========room=============>>>>
    // room的详细信息
    barRoomDetail : "business/room-detail",
    // 房间列表
    roomList : "business/room-list",
    // room的详细信息
    barDetail : "business/business-detail",
//<<<<=========map=============>>>>    
    //地图Url
    mapUrl:"http://apis.map.qq.com/ws/geocoder/v1/",
    // 搜索地理位置
    lbsSearch:"lbs/search",
}
